package com.hqyj.shop.service;

import com.hqyj.shop.pojo.Cart;
import com.hqyj.shop.pojo.Order;

import java.util.List;

public interface OrderService {
    //删除订单
    boolean deleteOneOnOrder(Integer orderId);
    //新建订单
    boolean creatOrder(Order order);

    //查询订单
    List<Order> showOrder(Integer userId);
    //修改订单
    boolean updateOrderStatus(Integer orderId,String status);

}
